package com.wdy.util;

public class BasicUtil {
	public static boolean isEqual(String orignal, String contrast){
		if(null != orignal && null != contrast){
			if(orignal.trim().equals(contrast.trim())){
				return true;
			}
		}
		return false;
	}
	public static int compare(int orignalId, int contrastId){
		if(orignalId < contrastId){
			return -1;
		}else if(orignalId > contrastId){
			return 1;
		}else{
			return 0;
		}
	}
}
